#!/usr/bin/env node

const fs = require ('fs');
const file = process.argv[2]||__filename;
try{
  const content = fs.readFileSync(file,'utf8');
  console.log(content);}
catch(err){
  console.log(err.message);
  process.exit(1);
}
